<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
	<title>查看回复</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link type="text/css" rel="stylesheet" href="css/bootstrap.css">
	<link type="text/css" rel="stylesheet" href="css/style.css?v=20210222">
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body>

	<jsp:include page="/admin/header.jsp"></jsp:include>
	
	<!--account-->
	<div class="account">
		<div class="container">
			<div class="register">
					<div class="register-top-grid">
						<h3>查看回复</h3>
						<input type="hidden" name="orderId" value="${order.id}">
						<div class="input">
							<span>商品详情: </span>
							<c:forEach items="${order.itemList }" var="item">
					         	<p>${item.goodsName }(${item.price }) x ${item.amount }</p>
				         	</c:forEach>
						</div>
						<div class="input">
							<span>总价: </span>
							${order.total}
						</div>
						<div class="input">
							<span>评论内容: </span>
							<textarea cols="100" rows="5" name="content" readonly="readonly">${c.content}</textarea>
						</div>
						<div class="input">
							<span>回复人 :</span>
							<p>${r.username}</p>
						</div>
						<div class="input">
							<span>回复内容: </span>
							<textarea cols="100" rows="5" name="content" readonly="readonly">${r.content}</textarea>
						</div>
						<div class="clearfix"> </div>
					</div>
					<div class="register-but text-center">
					   <a class="btn btn-warning" href="${pageContext.request.contextPath }/admin/order_list?status=6">退出</a>
					   <div class="clearfix"> </div>
					</div>
				<div class="clearfix"> </div>
			</div>
	    </div>
	</div>
	<!--//account-->

	<jsp:include page="/footer.jsp"></jsp:include>

	
</body>
</html>